using Microsoft.Phone.Tasks;
using System;
using System.Windows.Controls;
using System.Windows.Input;
namespace Coding4Fun.Phone.Site.Controls
{
	public class Coding4FunFooter : Control
	{
		private const string string_0 = "c4fLogo";
		protected Image C4FLogo;
		public Coding4FunFooter()
		{
			base.set_DefaultStyleKey(typeof(Coding4FunFooter));
		}
		public override void OnApplyTemplate()
		{
			base.OnApplyTemplate();
			if (this.C4FLogo != null)
			{
				this.C4FLogo.remove_ManipulationCompleted(new EventHandler<ManipulationCompletedEventArgs>(this.method_0));
			}
			this.C4FLogo = (base.GetTemplateChild("c4fLogo") as Image);
			if (this.C4FLogo != null)
			{
				this.C4FLogo.add_ManipulationCompleted(new EventHandler<ManipulationCompletedEventArgs>(this.method_0));
			}
		}
		private void method_0(object sender, ManipulationCompletedEventArgs e)
		{
			Coding4FunFooter.smethod_0("http://www.coding4fun.com");
		}
		private static void smethod_0(string string_1)
		{
			WebBrowserTask webBrowserTask = new WebBrowserTask();
			webBrowserTask.set_Uri(new Uri(string_1));
			WebBrowserTask webBrowserTask2 = webBrowserTask;
			webBrowserTask2.Show();
		}
	}
}
